import { createStore } from 'vuex';

export class Store {

    store: any;

    constructor() {

    }

    getStore() {
        return createStore({
            state() {
                return {
                    count: 0
                }
            },
            mutations: {
                increment(state: any) {
                    state.count++
                }
            }
        })
    }
}